package com.smartstate.admin.biz.entity.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.smartstate.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * @author: runner-up
 * @Package: com.smartstate.admin.biz.entity.bo
 * @ClassName: Membership
 */
@Data
@Entity
@NoArgsConstructor
@TableName("sys_membership")
@ApiModel(value = "Membership", description = "前端会员")
public class Membership extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private String userId;

    /**
     * appid
     */
    private String appId;

    /**
     * 用户头像
     */
    private String imgPath;

    /**
     * 是否删除 (1 是  0否)
     */
    private Integer isDeleted;

    /**
     * 0无效 1有效
     */
    private Integer status;
}
